package cn.tedu.tea.mapper;

import cn.tedu.tea.domain.TStock;
import cn.tedu.tea.domain.vo.TStockListVO;
import cn.tedu.tea.domain.vo.TStockStandardVO;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TStockMapper {
    int insert(TStock tStock);
    int deleteById(Long id);
    int deleteByIds(Long[] ids);
    int update(TStock tStock);

    TStockStandardVO getStandardById(Long id);
    List<TStockListVO> list();

}
